package org.judking.CarKeeper.command.EarlyWarning;

import org.judking.CarKeeper.command.BaseObdCommand;

public class IntakeAirTemperatureDetector implements WarningDetector		{
	private double curIntakeAirTemp;

	@Override
	public void detect(BaseObdCommand command) {
		curIntakeAirTemp = Double.parseDouble(command.getRipeData().toString());
	}

	public double getCurIntakeAirTemp()	 {
		return curIntakeAirTemp;
	}
}
